Don't check the same crossing mode twice
authorMatthias Clasen <mclasen@redhat.com>
Fri, 30 Nov 2012 03:06:18 +0000 (22:06 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 30 Nov 2012 04:10:34 +0000 (23:10 -0500)
commitce6f43a522bcaea6ec4254dbd1a19863fe9e5599
tree6b32e7c52f023beb6ed0962f40f42c5babb8dd96
parent5230cfe805b8f0046896c029612180fc9d4cc5df
Don't check the same crossing mode twice

This was broken since commit b2aaa94 in 2008. Its commit message
clearly states that the intention was to check for GTK_GRAB,
GTK_UNGRAB and STATE_CHANGED. Lets do that, then.

This was found by Coverity.
gtk/gtkmenushell.c